<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: pdo_list.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('pdo__list_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">pdo_list.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT PDO list methods.  
<a href="#details">More...</a></p>

<p><a href="pdo__list_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac6f343a6f07a1f817fc0c8820fbd5314"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#ac6f343a6f07a1f817fc0c8820fbd5314">ec_pdo_list_init</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:ac6f343a6f07a1f817fc0c8820fbd5314"><td class="mdescLeft">&#160;</td><td class="mdescRight">PDO list constructor.  <a href="#ac6f343a6f07a1f817fc0c8820fbd5314">More...</a><br /></td></tr>
<tr class="separator:ac6f343a6f07a1f817fc0c8820fbd5314"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f05a34cf44b4d4f5bd47db39addb95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a30f05a34cf44b4d4f5bd47db39addb95">ec_pdo_list_clear</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:a30f05a34cf44b4d4f5bd47db39addb95"><td class="mdescLeft">&#160;</td><td class="mdescRight">PDO list destructor.  <a href="#a30f05a34cf44b4d4f5bd47db39addb95">More...</a><br /></td></tr>
<tr class="separator:a30f05a34cf44b4d4f5bd47db39addb95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff8b6a50972c7106457f0db17fbeaf6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#aff8b6a50972c7106457f0db17fbeaf6c">ec_pdo_list_clear_pdos</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:aff8b6a50972c7106457f0db17fbeaf6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the list of mapped PDOs.  <a href="#aff8b6a50972c7106457f0db17fbeaf6c">More...</a><br /></td></tr>
<tr class="separator:aff8b6a50972c7106457f0db17fbeaf6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a464a658cdd2744493d9e63d033db4d36"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a464a658cdd2744493d9e63d033db4d36">ec_pdo_list_total_size</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:a464a658cdd2744493d9e63d033db4d36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the total size of the mapped PDO entries.  <a href="#a464a658cdd2744493d9e63d033db4d36">More...</a><br /></td></tr>
<tr class="separator:a464a658cdd2744493d9e63d033db4d36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19d7263b2fa2234b9d8301515528e834"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a19d7263b2fa2234b9d8301515528e834">ec_pdo_list_add_pdo</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, uint16_t index)</td></tr>
<tr class="memdesc:a19d7263b2fa2234b9d8301515528e834"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new PDO to the list.  <a href="#a19d7263b2fa2234b9d8301515528e834">More...</a><br /></td></tr>
<tr class="separator:a19d7263b2fa2234b9d8301515528e834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0dfffa35df484b25834003b447e888"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a1e0dfffa35df484b25834003b447e888">ec_pdo_list_add_pdo_copy</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *pdo)</td></tr>
<tr class="memdesc:a1e0dfffa35df484b25834003b447e888"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the copy of an existing PDO to the list.  <a href="#a1e0dfffa35df484b25834003b447e888">More...</a><br /></td></tr>
<tr class="separator:a1e0dfffa35df484b25834003b447e888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accc8112633a4b76efe8df355d1ad0ec8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#accc8112633a4b76efe8df355d1ad0ec8">ec_pdo_list_copy</a> (<a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *other)</td></tr>
<tr class="memdesc:accc8112633a4b76efe8df355d1ad0ec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a deep copy of another PDO list.  <a href="#accc8112633a4b76efe8df355d1ad0ec8">More...</a><br /></td></tr>
<tr class="separator:accc8112633a4b76efe8df355d1ad0ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac05fc5ee2cf2afdf8b8501ef194c4002"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#ac05fc5ee2cf2afdf8b8501ef194c4002">ec_pdo_list_equal</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl1, const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl2)</td></tr>
<tr class="memdesc:ac05fc5ee2cf2afdf8b8501ef194c4002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two PDO lists.  <a href="#ac05fc5ee2cf2afdf8b8501ef194c4002">More...</a><br /></td></tr>
<tr class="separator:ac05fc5ee2cf2afdf8b8501ef194c4002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab08f37fcf3beda7d5425d49eca02c3be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#ab08f37fcf3beda7d5425d49eca02c3be">ec_pdo_list_find_pdo</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, uint16_t index)</td></tr>
<tr class="memdesc:ab08f37fcf3beda7d5425d49eca02c3be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a PDO with the given index.  <a href="#ab08f37fcf3beda7d5425d49eca02c3be">More...</a><br /></td></tr>
<tr class="separator:ab08f37fcf3beda7d5425d49eca02c3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bffe5f1347255244f09ed77db2f4285"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a0bffe5f1347255244f09ed77db2f4285">ec_pdo_list_find_pdo_const</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, uint16_t index)</td></tr>
<tr class="memdesc:a0bffe5f1347255244f09ed77db2f4285"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a PDO with the given index and returns a const pointer.  <a href="#a0bffe5f1347255244f09ed77db2f4285">More...</a><br /></td></tr>
<tr class="separator:a0bffe5f1347255244f09ed77db2f4285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e65b2de439049f0f2b2cdfd1618187"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#af7e65b2de439049f0f2b2cdfd1618187">ec_pdo_list_find_pdo_by_pos_const</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl, unsigned int pos)</td></tr>
<tr class="memdesc:af7e65b2de439049f0f2b2cdfd1618187"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a PDO via its position in the list.  <a href="#af7e65b2de439049f0f2b2cdfd1618187">More...</a><br /></td></tr>
<tr class="separator:af7e65b2de439049f0f2b2cdfd1618187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cdf2367204e4db2dcdac339be67aaed"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a6cdf2367204e4db2dcdac339be67aaed">ec_pdo_list_count</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:a6cdf2367204e4db2dcdac339be67aaed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of PDOs in the list.  <a href="#a6cdf2367204e4db2dcdac339be67aaed">More...</a><br /></td></tr>
<tr class="separator:a6cdf2367204e4db2dcdac339be67aaed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75bc7cee35f668b62965ba2c010b82dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pdo__list_8c.html#a75bc7cee35f668b62965ba2c010b82dd">ec_pdo_list_print</a> (const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *pl)</td></tr>
<tr class="memdesc:a75bc7cee35f668b62965ba2c010b82dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outputs the PDOs in the list.  <a href="#a75bc7cee35f668b62965ba2c010b82dd">More...</a><br /></td></tr>
<tr class="separator:a75bc7cee35f668b62965ba2c010b82dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT PDO list methods. </p>

<p class="definition">Definition in file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ac6f343a6f07a1f817fc0c8820fbd5314"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6f343a6f07a1f817fc0c8820fbd5314">&#9670;&nbsp;</a></span>ec_pdo_list_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_pdo_list_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PDO list constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00050">50</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a30f05a34cf44b4d4f5bd47db39addb95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f05a34cf44b4d4f5bd47db39addb95">&#9670;&nbsp;</a></span>ec_pdo_list_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_pdo_list_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PDO list destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00061">61</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="aff8b6a50972c7106457f0db17fbeaf6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff8b6a50972c7106457f0db17fbeaf6c">&#9670;&nbsp;</a></span>ec_pdo_list_clear_pdos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_pdo_list_clear_pdos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the list of mapped PDOs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00070">70</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a464a658cdd2744493d9e63d033db4d36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a464a658cdd2744493d9e63d033db4d36">&#9670;&nbsp;</a></span>ec_pdo_list_total_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t ec_pdo_list_total_size </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates the total size of the mapped PDO entries. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">Data</td><td>size in byte. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00087">87</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a19d7263b2fa2234b9d8301515528e834"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19d7263b2fa2234b9d8301515528e834">&#9670;&nbsp;</a></span>ec_pdo_list_add_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a>* ec_pdo_list_add_pdo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a new PDO to the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Pointer to new PDO, otherwise an ERR_PTR() code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">index</td><td>PDO index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00117">117</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a1e0dfffa35df484b25834003b447e888"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e0dfffa35df484b25834003b447e888">&#9670;&nbsp;</a></span>ec_pdo_list_add_pdo_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_pdo_list_add_pdo_copy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *&#160;</td>
          <td class="paramname"><em>pdo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the copy of an existing PDO to the list. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, else &lt; 0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">pdo</td><td>PDO to add. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00141">141</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="accc8112633a4b76efe8df355d1ad0ec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accc8112633a4b76efe8df355d1ad0ec8">&#9670;&nbsp;</a></span>ec_pdo_list_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_pdo_list_copy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes a deep copy of another PDO list. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, else &lt; 0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">other</td><td>PDO list to copy from. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00177">177</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="ac05fc5ee2cf2afdf8b8501ef194c4002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac05fc5ee2cf2afdf8b8501ef194c4002">&#9670;&nbsp;</a></span>ec_pdo_list_equal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_pdo_list_equal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compares two PDO lists. </p>
<p>Only the list is compared, not the PDO entries (i. e. the PDO mapping).</p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">1</td><td>The given PDO lists are equal. </td></tr>
    <tr><td class="paramname">0</td><td>The given PDO lists differ. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl1</td><td>First list. </td></tr>
    <tr><td class="paramname">pl2</td><td>Second list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00207">207</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="ab08f37fcf3beda7d5425d49eca02c3be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab08f37fcf3beda7d5425d49eca02c3be">&#9670;&nbsp;</a></span>ec_pdo_list_find_pdo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__pdo__t.html">ec_pdo_t</a>* ec_pdo_list_find_pdo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a PDO with the given index. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">index</td><td>PDO index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00243">243</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a0bffe5f1347255244f09ed77db2f4285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bffe5f1347255244f09ed77db2f4285">&#9670;&nbsp;</a></span>ec_pdo_list_find_pdo_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a>* ec_pdo_list_find_pdo_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a PDO with the given index and returns a const pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">index</td><td>PDO index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00265">265</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="af7e65b2de439049f0f2b2cdfd1618187"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7e65b2de439049f0f2b2cdfd1618187">&#9670;&nbsp;</a></span>ec_pdo_list_find_pdo_by_pos_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structec__pdo__t.html">ec_pdo_t</a>* ec_pdo_list_find_pdo_by_pos_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a PDO via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00289">289</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a6cdf2367204e4db2dcdac339be67aaed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cdf2367204e4db2dcdac339be67aaed">&#9670;&nbsp;</a></span>ec_pdo_list_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ec_pdo_list_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of PDOs in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of PDOs. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00311">311</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
<a id="a75bc7cee35f668b62965ba2c010b82dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75bc7cee35f668b62965ba2c010b82dd">&#9670;&nbsp;</a></span>ec_pdo_list_print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_pdo_list_print </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structec__pdo__list__t.html">ec_pdo_list_t</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Outputs the PDOs in the list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pl</td><td>PDO list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="pdo__list_8c_source.html#l00329">329</a> of file <a class="el" href="pdo__list_8c_source.html">pdo_list.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="pdo__list_8c.html">pdo_list.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
